public class Atividadeb {

    public static void main(String[] args) {
        int array1[][] = {{20, 22, 24, 26}, {28, 30, 32, 34}, {36, 38, 40, 42}, {44, 46, 48, 50}};
        for (int i = 0; i < array1.length; i++) {
            for (int j = 0; j < array1[i].length; j++) {
                System.out.println("valor de Array[" + i + "][" + j + "] = " + array1[i][j]);
            }
        }
    }
}
